import { PluginOption } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueDevTools from 'vite-plugin-vue-devtools'

import { createComponents, createAutoImport, createUnoCSS } from '../plugins'

export const usePlugins = (): PluginOption[] => {
  return [vue(), vueDevTools(), createComponents(), createAutoImport(), createUnoCSS()]
}
